package com.yqzl.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
public class GoodsDetail {
  String image;
  String name;
  String price;
  List<String> images;
  List<String> colors;
  String selectedColor;
  List<String> versions;
  String selectedVersion;
  Integer quantity;

  public GoodsDetail(String image, String name, String price, List<String> images, List<String> colors, String selectedColor, List<String> versions, String selectedVersion, Integer quantity) {
    this.image = image;
    this.name = name;
    this.price = price;
    this.images = images;
    this.colors = colors;
    this.selectedColor = selectedColor;
    this.versions = versions;
    this.selectedVersion = selectedVersion;
    this.quantity = quantity;
  }

  public GoodsDetail(String image, String name, String price, List<String> images, List<String> colors, String selectedColor, List<String> versions, String selectedVersion, Integer quantity, String info) {
    this.image = image;
    this.name = name;
    this.price = price;
    this.images = images;
    this.colors = colors;
    this.selectedColor = selectedColor;
    this.versions = versions;
    this.selectedVersion = selectedVersion;
    this.quantity = quantity;
    this.info = info;
  }

  String info;


}
